package demo1;

public class Dog extends Animal{
    public String name="大黄";
    public  void bark(){
        System.out.println(this.name+"正在汪汪叫......");
    }
    public void func(){
        System.out.println(super.name);
        System.out.println(this.name);
    }
}
